package com.team11.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team11.server.pojo.MScore;
import com.team11.server.pojo.dto.RespBean;
import com.team11.server.pojo.dto.RespPageBean;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pjc
 * @since 2021-07-08
 */
public interface IMScoreService extends IService<MScore> {

    /**
     * 获取个人评分列表
     * @return
     */
    RespPageBean getMScoreList(Integer currentPage, Integer size, String pName, String kcName);

    /**
     * 根据mId获取个人综合得分详情
     * @param currentPage
     * @param size
     * @param mId
     * @return
     */
    RespPageBean getMScoreDetails(Integer currentPage,Integer size,Integer mId,Integer type);

    /**
     * 老师进行综合打分
     * @param mId
     * @param tJobNumber
     * @param tId
     * @param mScore
     * @param mContent
     * @return
     */
    RespBean ComprehensiveScore( Integer mId,String tJobNumber,Integer tId, String mScore, String mContent);
}
